package com.maixy.redisdemo.constants;


/**
 * @Description 全局常量
 * @Date 2020/7/26 22:17
 * @Created by maixy
 */
public class GlobalConstant {
    /**
     * 单位是秒
     */
    public static class Times {
        public static final long TEN_MINUTES = 60 * 10;
        public static final long HALF_AN_HOUR = 60 * 30;
        public static final long AN_HOUR = 60 * 60 * 1000;
        public static final long THREE_HOUR = 3 * 60 * 60;
        public static final long TWELVE_HOUR = 12 * 60 * 60;
        public static final long ONE_DAY = 24 * 60 * 60;
        public static final long THREE_DAY = 3 * 24 * 60 * 60;
        public static final long ONE_YEAR = 365 * 24 * 60 * 60;
    }
}
